/*
 * iShopPlace Project.
 */
package ishopplace.model.businessobject.dependentobject;

import ishopplace.model.businessobject.Account;

/**
 * Profile dependent object.
 * The life cycle of this object is controlled by 
 * the <code>Account</code> business object.
 * 
 * @author <a href="mailto:derek@derekshen.com">Derek Y. Shen</a>
 */
public class Profile {
	private String username;
	private String favoriteCategoryId;
	private String languagePreference;
	private boolean listOption;
	private boolean bannerOption;
	private BannerData bannerData;
	private Account account;

	public Profile() {
		this.bannerData = new BannerData();
	}
	
	public String getUsername() { 
		return username; 
	}
	
	public void setUsername(String newUsername) { 
		this.username = newUsername; 
	}
	
	public String getFavoriteCategoryId() { 
		return favoriteCategoryId; 
	}
	
	public void setFavoriteCategoryId(String newFavoriteCategoryId) { 
		this.favoriteCategoryId = newFavoriteCategoryId; 
	}

	public String getLanguagePreference() { 
		return languagePreference; 
	}
	
	public void setLanguagePreference(String newLanguagePreference) { 
		this.languagePreference = newLanguagePreference; 
	}

	public boolean isListOption() { 
		return listOption; 
	}
	
	public void setListOption(boolean newListOption) { 
		this.listOption = newListOption; 
	}

	public boolean isBannerOption() { 
		return bannerOption; 
	}
	
	public void setBannerOption(boolean newBannerOption) { 
		this.bannerOption = newBannerOption; 
	}
	
	public BannerData getBannerData() {
		return this.bannerData;
	}
	
	public void setBannerData(BannerData newBannerData) {
		this.bannerData = newBannerData;
	}
	
	public Account getAccount() {
		return this.account;
	}
	
	public void setAccount(Account newAccount) {
		this.account = newAccount;
	}
}
